<%--
 *  @Author: Langerwang
 *  Date:    2001/01/14
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>
<%@ page import="java.util.*" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>

<%
  String privilegeCode = "10203,L203";
  String strModuleName = "PCM";
%>
<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/PageDefault.inc" %>

<html>
<head>
<title></title>
<PageFlow:CheckPageFlow pageName="prodequipmentedit"/>
<%@ include file="/inc/InitEdit.inc" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="../../css/<%= strLanguageCode %>/script.js"></script>
<script language="JavaScript" src="../../js/ScriptLib.js"></script>
<script language="JavaScript">
function page_back()
{
  //parent.location.href="ProdMgmtFrm.jsp?<%= OvalTools.randomURL() %>";
  parent.up.page_goback();
}

function page_save(){
  if(!checkForm(document.frm))return;
  formatNumber(document.frm);
	document.frm.actionname.value = "done";
	isRunning = true;
	document.frm.submit();
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  Scroll=no >
<table border=0 cellpadding=0 cellspacing=0 width="100%" >
  <tr> 
    <td valign=top> 
        <table border=0 cellpadding=1 cellspacing=0 width="100%">
        <form name="frm" method="post" action="../../Dispatcher">
         <input type="hidden" name="pagename" value="prodequipmentedit">
         <input type="hidden" name="actionname">
         <custom:hidden name="prodinfo" property="prodid"/>
         <tbody> 
          <tr> 
            <td bgcolor=#000000 style="PADDING-BOTTOM: 1px; PADDING-LEFT: 1px; PADDING-RIGHT: 1px; PADDING-TOP: 0px"> 
              <table bgcolor=#000000 border=0 cellpadding=0 cellspacing=0 width="100%">
                <tr> 
                  <td  bgcolor=#ffffff style="PADDING-BOTTOM: 3px; PADDING-LEFT: 3px; PADDING-RIGHT: 3px; PADDING-TOP: 3px"> 
                   <div id=div2 style="HEIGHT: 410px; OVERFLOW: auto"> 
                      <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="1">
                        <tr> 
                          <td class="td-text" height="20" width="110"><%= label.getLabelName("L_Model")+label.getLabelName("L_Colon") %></td>
                          <td width="300"> 
                            <custom:write property="model" name="prodinfo" nbsp="true"/>
                          </td>
                          
                          <td class="td-text" width="110" ><%= label.getLabelName("L_Weight")+label.getLabelName("L_Colon") %></td>
                          <td> 
                            <custom:write schemaName="ovproductbrieffoream" dataType="double" name="prodinfo" property="weight" nbsp="true"/>
                          </td>
                        </tr>
                        <tr> 
                          <td class="td-text" height="20"><%= label.getLabelName("L_OriginalValue")+label.getLabelName("L_Colon") %></td>
                          <td>
                            <custom:write schemaName="ovproductbrieffoream" dataType="double" name="prodinfo" property="valueoriginal" nbsp="true"/>
                          </td>
                          <td class="td-text" ><%= label.getLabelName("L_UsageLimit")+label.getLabelName("L_Colon") %></td>
                          <td>
                            <custom:write schemaName="ovproductbrieffoream" dataType="double" name="prodinfo" property="usagelimit" nbsp="true"/>
                          </td>
                        </tr>
                        <tr>
                          <td class="td-text" height="20"><%= label.getLabelName("L_ValueLeft")+label.getLabelName("L_Colon") %></td>
                          <td> 
                            <custom:write schemaName="ovproductbrieffoream" dataType="double" name="prodinfo" property="valueleft" nbsp="true"/>
                          </td>
                          <td class="td-text" ><%= label.getLabelName("L_Position")+label.getLabelName("L_Colon") %></td>
                          <td>
                            <custom:write property="position" name="prodinfo" nbsp="true"/>
                          </td>
                        </tr>
                        <tr> 
                          <td class="td-text" height="20"><%= label.getLabelName("L_Description")+label.getLabelName("L_Colon") %></td>
                          <td colspan="3"> 
                            <custom:write property="comments" name="prodinfo" nbsp="true"/>
                          </td>
                        </tr>
                        <tr> 
                          <td class="td-text" colspan="4">&nbsp;</td>
                        </tr>
                      </table>
                    </div>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
          </tbody> 
         </form>
        </table>
    </td>
  </tr>
  <tr> 
    <td class=summary_top></td>
  </tr>
  <tr> 
    <td class=td_center>
      <a onclick="page_back()"><custom:button type="1" label="L_Back" imgsrc="back.gif" border="0" style="width:60"/></a>
    </td>
  </tr>
</table>
<script>
formatNumber(document.frm);
</script>
</body>
</html>
